﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LIMS.Shared;
using LIMS.Entities;
using LIMS.Service;

namespace LIMS.Shared
{
    public class PagePresenter : BasePresenter<IPageView>
    {
        //Service initializations
        private IPageView view;
        private IUserManagementService userService;
        public PagePresenter(IPageView view,IUserManagementService myService)
            : base(view)
        {
            this.view = view;
            this.userService = myService;
        }

        public void InitializeView()
        {
            string sss = userService.GetUserPasswordByUserId(1); 
           // this.view.oUsers  = userService.GetAllUsers();
        }
        public void SaveData()
        {
          // string ss = this.view.oUser.UserName;
        }

    }
}
